<style>
    .fixed-table-container tbody td .th-inner, .fixed-table-container thead th .th-inner{
        white-space: normal !important;
    }
    table.table-nowrap {
      tbody > tr > td, thead > tr > th {
        white-space: normal;
      }
    }
    tbody > tr{
        height: 100px;
    }
</style>

<div class="panel panel-default panel-intro">
    {if $showana}
    <div class="panel panel-success">
        <div class="panel-heading">
            数据汇总
        </div>
        <div class="panel-body" style="line-height: 25px;text-indent: 2em">
            {$str}
        </div>
    </div>
    {/if}
    {:build_heading()}
    {if $isSuperAdmin == '1'}
    <ul class="nav nav-tabs">
        <li class="active"><a href="#one" data-toggle="tab">项目列表</a></li>
        <li><a href="#two" data-toggle="tab">待审核</a></li>
        <li><a href="#three" data-toggle="tab">转签约库审核</a></li>
    </ul>
    {/if}
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar1" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <!-- {if $site.discuss_add_switch}
                        <a href="javascript:;" class="btn btn-success btn-customadd {:$auth->check('project_2020_bak/discuss_add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        {/if}
                         <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('project_2020_bak/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        {if $site.discuss_import_switch}
                        <a href="javascript:;" class="btn btn-danger btn-import-custom {:$auth->check('project_2020_bak/importdiscuss')?'':'hide'}" title="{:__('Import')}" id="btn-import-custom" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>
                        {/if} -->

                       <!--  <a href="javascript:;" class="btn btn-success  btn-disabled disabled btn-customedit {:$auth->check('project_2020_bak/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a> -->
                        {if $site.discuss_add_switch}
                        <a href="javascript:;" class="btn btn-success btn-customadd {:$auth->check('project_2021/discuss_add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        {/if}
                         <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('project_2021/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        {if $site.discuss_import_switch}
                        <a href="javascript:;" class="btn btn-danger btn-import-custom {:$auth->check('project_2021/importdiscuss')?'':'hide'}" title="{:__('Import')}" id="btn-import-custom" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>
                        {/if}

                        <a href="javascript:;" class="btn btn-success  btn-disabled disabled btn-customedit {:$auth->check('project_2021/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>

                        <a href="javascript:;" class="btn btn-info  btn-disabled disabled btn-detail {:$auth->check('project_2021/detail')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-info"></i> {:__('详情')}</a>

                        {if $isSuperAdmin}
                       
                          
                       <!--  <div class="dropdown btn-group {:$auth->check('project/multi')?'':'hide'}">
                            <a class="btn btn-danger btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('新增标红')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="is_add=1&convert_memo=新增"><i class="fa fa-bookmark"></i> {:__('新增标红')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="is_add=0&convert_memo="><i class="fa fa-bookmark-o"></i> {:__('取消标红')}</a></li>
                            </ul>
                        </div> -->

                        <a class="btn btn-danger btn-multi btn-disabled disabled" href="javascript:;" data-params="is_add=0&convert_memo="><i class="fa fa-bookmark-o"></i> {:__('取消标红')}</a>
                        {/if}

                        <!-- <a class="btn btn-danger btn-multi btn-disabled disabled" href="javascript:;" data-params="is_add=0&convert_memo="><i class="fa fa-bookmark-o"></i> {:__('取消标红')}</a> -->

                      <!--   <div class="dropdown btn-group {:$auth->check('project_2020_bak/rejectmemo')?'':'hide'}">
                            <a class="btn btn-warning btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('驳回备注')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link  btn-disabled disabled btn-rejectmemo" href="javascript:;" ><i class="fa fa-file-text"></i> {:__('驳回备注')}</a></li>
                                <li><a class="btn btn-link  btn-multi btn-disabled disabled" href="javascript:;" data-params="reject_memo_status=0&reject_memo="><i class="fa fa-file-text-o"></i> {:__('取消')}</a></li>
                            </ul>
                        </div> -->

                     <!--    {if $site.discuss_convert_switch && !$isBuDi}
                        <a href="javascript:;" class="btn btn-warning  btn-convert btn-disabled disabled {:$auth->check('project/multi')?'':'hide'}" title="{:__('在谈转签约')}"  ><i class="fa fa-pencil"></i> {:__('在谈转签约')}</a>
                        {/if}

 -->

                         <div class="dropdown btn-group {:$auth->check('project_2021/rejectmemo')?'':'hide'}">
                            <a class="btn btn-warning btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('驳回备注')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link  btn-disabled disabled btn-rejectmemo" href="javascript:;" ><i class="fa fa-file-text"></i> {:__('驳回备注')}</a></li>
                                <li><a class="btn btn-link  btn-multi btn-disabled disabled" href="javascript:;" data-params="reject_memo_status=0&reject_memo="><i class="fa fa-file-text-o"></i> {:__('取消')}</a></li>
                            </ul>
                        </div>

                        {if $site.discuss_convert_switch && !$isBuDi}
                        <a href="javascript:;" class="btn btn-warning  btn-convert btn-disabled disabled {:$auth->check('project_2021/multi')?'':'hide'}" title="{:__('在谈转签约')}"  ><i class="fa fa-pencil"></i> {:__('在谈转签约')}</a>
                        {/if}


                        <a href="javascript:;" class="btn btn-success btn-export {:$auth->check('project_2021/exportdiscuss')?'':'hide'}" title="{:__('导出')}" data-library_id="1"><i class="fa fa-download"></i> {:__('导出')}</a>

                        <a href="javascript:;" class="btn btn-danger btn-disabled disabled btn-suspend {:$auth->check('project_2021/addsuspend')?'':'hide'}" title="{:__('设置项目状态')}" ><i class="fa fa-stop-circle"></i> {:__('设置项目状态')}</a>

                    </div>

                    <table id="table1" class="table table-striped table-bordered table-hover " style="font-size: 10px;"
                           data-operate-edit="{:$auth->check('project_2021/edit')}"
                           data-operate-del="{:$auth->check('project_2021/del')}">
                    </table>
                </div>
            </div>
            {if $isSuperAdmin == '1'}
            <div class="tab-pane fade" id="two">
                <div class="widget-body no-padding">
                    <div id="toolbar2" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>

                    </div>
                    <table id="table2" class="table table-striped table-bordered table-hover table-nowrap" width="100%">
                    </table>
                </div>
            </div>
            <div class="tab-pane fade" id="three">
                <div class="widget-body no-padding">
                    <div id="toolbar3" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>

                    </div>
                    <table id="table3" class="table table-striped table-bordered table-hover table-nowrap" width="100%">
                    </table>
                </div>
            </div>
            {/if}
        </div>
    </div>
</div>
